package com.ipfsemc.ipfsemc.service;

import com.ipfsemc.ipfsemc.mapper.HomeMapper;
import com.ipfsemc.ipfsemc.model.Home;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IHomeService {

    public int add(Home home);

    public int del(Integer home);

    public int update(Home home);

    @Transactional(readOnly = true)
    public List<Home> list(Home home);
}
